package com.wn32.main.demo18;

public class Main1 {
    public static void main(String[] args) {
        int x=50;
        int count =0;
        int n=0;
        while (x>0){
           x--;
           count++;
           n++;
           if(n==3){
               x++;
               n=0;
           }
        }
        System.out.println(count);
    }
}
